<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>无标题文档</title>
    <link href="__STATIC__/Admin/css/base.css" rel="stylesheet" type="text/css" />
    <link href="__STATIC__/Admin/css/right.css" rel="stylesheet" type="text/css">
    <link href="__STATIC__/css/page.css" rel="stylesheet" type="text/css">
    <script language="JavaScript" src="__STATIC__/js/jquery-2.1.1.min.js"></script>
    <script src="__STATIC__/js/datejs/laydate.js"></script>

    <script>
        $(document).ready(function(){
            $(function(){
                $('.rightinfo tbody tr:odd').addClass('odd')
            });
        });
    </script>
</head>

<body>
<div class="place"> <span>位置：</span>
    <ul class="placeul">
        <li><a href="{:url('Index/center')}">首页</a></li>
        <li>开奖记录</li>
    </ul>
</div>
<div class="rightinfo">
    <div class="tools">
        <ul class="toolbar">
            <li style="background:#FFF; text-indent:1em; border:0">
                <form name="fsoso1" method="post" action="{:url('Game/index')}">
                    期次 <input name="sci" type="text" class="dfinput" style="width:100px" >
                    开始时间 <input id="start" name="sktime" type="text" value="" class="dfinput" style="width:140px">
                    结束时间 <input id="end" name="sjtime" type="text" value="" class="dfinput" style="width:140px">
                    <input name="submit" class="btn" value="查询" type="submit">
                </form>
            </li>
            <!-- <li>&nbsp;收款：<font color="#FF0000">0</font> 元 </li> -->
        </ul>
    </div>
    <table class="tablelist">
        <thead>
        <tr>
            <th>名称</th>
            <th>开奖结果</th>
            <th>盈利</th>
            <th>时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
            <tr height="40" align="center">
                <td>{$vo['name']}</td>
                <td>{$vo['result']}</td>
                <td>{$vo['yingli_money']/100}</td>
                <td>{$vo['create_time']}</td>
                <td><a href="{:url('Game/qidetail',['id'=>$vo['id']])}">查看详情</a></td>
            </tr>
        {/volist}
        </tbody>
    </table>
</div>
<div class="pages">
  <a href="{:url('Game/index')}">首页</a>
  {if($prepage>0)}
  <a href="{:url('Game/index?page='.$prepage)}">上一页</a>
  {/if}
  
  {if($nextpage>0)}
  <a href="{:url('Game/index?page='.$nextpage)}">下一页</a>
  {/if}
  
</div>
<div class="pages">
    {if!empty($page)}
    <font>共{$page}条数据</font>
    {else}
    <font color='#ff0000'>暂无数据</font>
    {/if}
</div>
<script>
    !function(){
        laydate.skin('molv');//切换皮肤，请查看skins下面皮肤库
        var start = {
            elem: '#start',
            format: 'YYYY-MM-DD hh:mm:ss',
            min: '2017-01-01 23:59:59', //设定最小日期为当前日期
            max: laydate.now(), //最大日期
            istime: true,
            istoday: false,
            choose: function(datas){
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY-MM-DD hh:mm:ss',
            min: '2017-01-01 23:59:59', //设定最小日期为当前日期
            max: laydate.now(), //最大日期
            istime: true,
            istoday: false,
            choose: function(datas){
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);
    }();
</script>

</body>
</html>